3D Graphics Programming with QuickDraw 3D 1.5.4
Previous | QD3D Book | Overview | Chapter Contents | Next |
A cone is a three-dimensional object defined by an origin (that is, the center of the base) and three vectors that define the orientation and the major and minor radii of the cone. A cone is defined by the TQ3ConeData data type. See "Creating and Editing Cones" for a description of the routines you can use to create and edit cones. Figure 34 shows a cone.
typedef struct TQ3ConeData {
TQ3Point3D origin;
TQ3Vector3D orientation;
TQ3Vector3D majorRadius;
TQ3Vector3D minorRadius;
float uMin, uMax, vMin, vMax;
TQ3EndCap caps;
TQ3AttributeSet interiorAttributeSet;
TQ3AttributeSet faceAttributeSet;
TQ3AttributeSet bottomAttributeSet;
TQ3AttributeSet coneAttributeSet;
} TQ3ConeData;
Previous | QD3D Book | Overview | Chapter Contents | Next |